package com.lavida.project.system.performance.service;

import java.io.File;
import java.util.Date;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.lavida.project.system.papers.domain.Papers;
import com.lavida.project.system.performance.domain.Performance;

import net.sf.jsqlparser.statement.update.Update;

public interface PerformanceService {
	//查询
	List<Performance> selectPerformance(Performance performance,String dates_from,String dates_to);
	
	//导入增加
	long insertPerformance(String filePath) throws Exception;
	
	//增加
	int insertPerformances(Performance performance);
	
	//根据id
	Performance getPerformanceById(int id);
	
	//根据工号查
	List<Performance> getPerformanceByjobId(int job_id);
	
	
	//修改
	int updatePerformance(Performance performance);
	
	//删除
	int deletePerformance(int[] ids);
}
